package cn.edu.sgu.www.mhxysy.enums;

/**
 * 操作类型枚举
 * @author 沐雨橙风ιε
 * @version 1.0
 */
public enum OperationTypes {

    /**
     * 添加
     */
    TJ(1, "添加"),
    /**
     * 修改
     */
    XG(2, "修改"),
    /**
     * 删除
     */
    SC(3, "删除");

    private final Integer value;
    private final String name;

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

    OperationTypes(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

}
